package com.summer.shopping.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.shopping.domain.table.Orders;
import com.summer.shopping.domain.table.dto.OrderCreateDTO;
import com.summer.shopping.domain.table.dto.PageDTO;
import com.summer.shopping.utils.Result;

public interface OrderService extends IService<Orders> {

    Result createOrder(OrderCreateDTO orderCreateDTO);

    Result pay(Integer id);

    Result queryPay(Integer orderId);

    Result myOrder(PageDTO pageDTO);
}
